package cn.dd.crmweb.modules.activation.controller;


import cn.dd.crmweb.common.Result;
import cn.dd.crmweb.modules.activation.service.IAdsJemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("activation")
public class ActivationController {

    @Autowired
    private IAdsJemoService adsJemoService;

    @GetMapping("list")
    public Result findAll(){
        return Result.success(adsJemoService.list());
    }
}
